<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/public/common.jspf" %>
<!DOCTYPE html>
<html>
<head>
	<title>个人信息管理系统</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<!-- Bootstrap 
	<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
	<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet" />

	<link href="http://fonts.googleapis.com/css?family=Abel|Open+Sans:400,600" rel="stylesheet" />-->
	
	<link rel="stylesheet" href="${pageContext.request.contextPath}/style/css/center.css"> 
</head>
<body>
<div class="container">
		<div class="row">
			<a class="btn btn-primary" href="userAction_editUI">修改基本信息</a>
			<a class="btn btn-primary" href="userAction_editPasswordUI">修改密码</a>
			
			<div class="col-md-6 col-md-offset-3 panel panel-default">

				<h1 class="margin-base-vertical">个人信息</h1>

				<div	class="margin-base-vertical">
					<s:hidden name="id"></s:hidden>
					<table class="table">
						<tr>
							<td>用户名:</td>
							<td>
								<p>${username}</p>
							</td>
						</tr>
					
						<tr>
							<td>邮箱地址:</td>
							<td>
								<p>${email }</p>
							</td>
						</tr>
						<tr>
							<td>性别:</td>
							<td>
								<s:set value="#{0:'男',1:'女'}" var="genderMap"></s:set>
								<p>${genderMap[gender] }</p>
							</td>
						</tr>
						<tr>
							<td>手机号码:</td>
							<td>
								<p>${phone }</p>
							</td>
						</tr>
						<tr>
							<td>出生日期:</td>
							<td>
								<s:date name="birth" format="yyyy-MM-dd" />
							<!-- <input type="text" value="2012-05-15 21:05" id="datetimepicker" data-date-format="yyyy-mm-dd hh:ii"> -->
							</td>
						</tr>
						<tr>
							<td>民族:</td>
							<td>
								<p>${nation }</p>
							</td>
						</tr>
						<tr>
							<td>教育程度:</td>
							<td>
								<s:set value="#{0:'高中',1:'专科',2:'本科',3:'研究生',4:'博士',5:'其他'}" var="eduMap"></s:set>
								<p>${eduMap[education] }</p>
							</td>
						</tr>
						<tr>
							<td>职称:</td>
							<td>
								<p>${work}</p>
							</td>
						</tr>
						<tr>
							<td>家庭住址:</td>
							<td>
								<p>${place}</p>
							</td>
						</tr>
					</table>
				</div>
			</div>
			<!-- //main content -->
		</div>
		<!-- //row -->
	</div>
	<!-- //container -->
</body>
</html>
